/* Style général */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #1e1e2f; /* Fond sombre */
    color: #ffffff; /* Texte blanc */
}

/* Navbar */
.glass-navbar {
    background: rgba(255, 255, 255, 0.1); /* Effet verre */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff5757;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 50px 20px;
    background: #1a1a2e;
    color: #ffffff;
}

.contact-section h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #ff5757;
}

.contact-section p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Formulaire de contact */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
}

.submit-button {
    background: #ff5757;
    color: #ffffff;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #ff3b3b;
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #ff5757;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
/* Bannière Personnalisée */
.custom-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222; /* Couleur de fond en cas de problème de chargement de l'image */
}

.custom-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

.banner-text {
    position: absolute;
    text-align: center;
    color: #ffffff;
}

.banner-text h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

.banner-text p {
    font-size: 1.5em;
    margin: 10px 0 0;
}

/* Barre de navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(to right, #2a2a2a, #1c1c1c); /* Couleur dégradée */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5em;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    margin: 0 15px;
}

.navbar-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-links a:hover,
.navbar-links .active {
    color: #ff3b3b; /* Couleur de survol ou active */
}

/* Ajustement pour petits écrans */
@media (max-width: 768px) {
    .navbar-links {
        display: none; /* Cache les liens dans une vue mobile (peut être remplacé par un menu hamburger) */
    }

    .burger-menu {
        display: block;
    }
}
/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background: linear-gradient(120deg, #0d1117, #1a1a2e);
    overflow-x: hidden;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

/* Navbar avec effet Glassmorphism */
.glass-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 10px auto;
    animation: slide-down 0.5s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* Navbar Links */
.navbar {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #000;
}

/* Icônes de la navbar */
.icons {
    display: flex;
    gap: 15px;
}

.icon-link {
    color: #fff;
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.icon-link:hover {
    transform: scale(1.2);
    color: #000000;
}

/* Section principale */
.home-section {
    text-align: center;
    padding: 50px 20px;
    background: url('/image/ban.png') no-repeat center center/cover;
    color: #fff;
    min-height: 100vh;
}

.home-content h1 {
    font-size: 2.5rem;
    animation: fade-in 1s ease;
}

.home-content p {
    margin-top: 10px;
    font-size: 1.2rem;
    animation: fade-in 1.2s ease;
}

.banner {
    max-width: 90%;
    max-height: 300px; /* Taille limitée */
    margin: 20px auto;
    border-radius: 15px;
    object-fit: cover;
    animation: fade-in 1.5s ease;
}

.join-button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #000000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.join-button:hover {
    background: #000000;
    transform: scale(1.1);
}


.container {
    width: 80%;
    margin: 40px auto;
    background-color: #222; /* Fond légèrement plus clair pour le conteneur */
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 16px; /* Taille de texte plus grande pour une meilleure lisibilité */
}

h2 {
    color: #f5f5f5; /* Titre en texte clair */
    font-size: 32px; /* Taille de titre plus grande pour une meilleure hiérarchisation */
    margin-bottom: 20px;
    font-weight: 600; /* Mise en valeur des titres */
    line-height: 1.4;
}

h3 {
    color: #f5f5f5; /* Sous-titres en texte clair */
    font-size: 26px; /* Titre de section plus large */
    margin-bottom: 12px;
    border-bottom: 2px solid #3498db; /* Séparation élégante sous les sous-titres */
    padding-bottom: 8px;
    font-weight: 500;
}

p {
    font-size: 18px; /* Augmenter la taille du texte pour les paragraphes */
    color: #ccc; /* Texte de paragraphe plus clair pour le contraste */
    line-height: 1.8; /* Augmentation de l'interligne pour faciliter la lecture */
    margin-bottom: 15px;
}

ul {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px; /* Ajout d'une marge entre les listes */
}

ul li {
    margin-bottom: 10px;
    font-size: 18px; /* Ajustement de la taille des éléments de liste */
    color: #ccc; /* Texte des éléments de liste en clair */
}

footer {
    background-color: #2c3e50; /* Fond sombre pour le pied de page */
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
}

footer p {
    margin: 0;
}

.link {
    color: #3498db;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 26px; /* Réduction de la taille du titre sur petits écrans */
    }

    h3 {
        font-size: 22px; /* Ajustement de la taille du sous-titre */
    }

    p {
        font-size: 16px; /* Réduction de la taille des paragraphes pour les petits écrans */
    }

    ul li {
        font-size: 16px; /* Ajustement de la taille des éléments de liste */
    }
}